/* function isValidChineseName(str){
  return /^[\u4e00-\u9fa5]+(\.[\u4e00-\u9fa5]+)*$/.test(str);
}
console.log(isValidChineseName('张三'));
console.log(isValidChineseName('张三丰'));
console.log(isValidChineseName('马克.吐温'));
console.log(isValidChineseName('马克.吐温.吐司'));


验用户名是否合法规定，用户名只能是字母，数字，下划线，长度为6-8位

function isValidUserName(str){
  return /^\w{6,8}$/.test(str);
}
console.log(isValidUserName('zhangsan'));
console.log(isValidUserName('zhang123_'));
console.log(isValidUserName('zhang'));
console.log(isValidUserName('zhang000000000000000000000000000000'));
*/

//校验一个范围 13-65之间，包含13和65

function isValidNumber(str){
    return /^(1[3-9]|[2-5]\d|6[0-5])$/.test(str);
}
console.log(isValidNumber('3'));
console.log(isValidNumber('13'));
console.log(isValidNumber('23'));
console.log(isValidNumber('33'));
console.log(isValidNumber('43'));
console.log(isValidNumber('53'));
console.log(isValidNumber('63'));
console.log(isValidNumber('73'));
///13-65/
// 135 145 155 165 